<?php

use Illuminate\Routing\Router;
use Illuminate\Support\Facades\Route;
use Dcat\Admin\Admin;

Admin::routes();

Route::group([
    'prefix'     => config('admin.route.prefix'),
    'namespace'  => config('admin.route.namespace'),
    'middleware' => config('admin.route.middleware'),
], function (Router $router) {

    $router->get('/', 'HomeController@index');
    //楼盘字典
    $router->resource('community', 'CommunityController');
    $router->resource('property', 'PropertyController');
    //客户信息
    $router->resource('customer', 'CustomerController');
    //公海
    $router->get('customer-ooa-list','CustomerController@ooaList');
    //我的客户
    $router->get('customer-my-list','CustomerController@myList');


});
